This 3D plot is created by the package ‘plotly’ using MTCARS data set, from which there are three chosen columns about cars’ attributes. The three attributes are ‘mpg’, ‘cyl’ and ‘wt’, which means ‘miles per gallon’, ‘cycling’ and ‘weight’ respectively. This 3D plot presents how first attribute, ‘mpg’, is affected by the others: about the three axes of the 3D plot: x = ‘cycling’, y = ‘weight’, and z = ‘miles per gallon’
## Loading required package: ggplot2
##
## Attaching package: 'plotly'
## The following object is masked from 'package:ggplot2':
##
## last_plot
## The following object is masked from 'package:stats':
##
## filter
## The following object is masked from 'package:graphics':
##
## layout